<div class="running" ng-init="reload()">
  <div class="running-tab">
    <span ng-class="{'actived':running_tab_actived === '1'}" ng-click="change_tab('1')">全部</span>
    <span ng-class="{'actived':running_tab_actived === '2'}" ng-click="change_tab('2')">今日创建</span>
    <span ng-class="{'actived':running_tab_actived === '3'}" ng-click="change_tab('3')">待卖</span>
  </div>
  <div class="item-wrap">
    <div class="item" ng-repeat="item in result track by $index" ng-click="go_detail(item)" >
      <span ng-bind="item.product_name" class="product-name">平安銀行</span>
      <span ng-bind="item.open_price||'--'"></span>
      <span ng-bind="item.income_balance||'--'" ng-class="{'global_color_red':item.income_balance>=0,'global_color_green':item.income_balance<0}"></span>
      <span ng-bind="(item.contract_status|zhixing_state)['state']" ng-style="{color:(item.contract_status|zhixing_state)['color']}">執行中</span>
      <span ng-bind="(item.open_amount||'**')+'股'+' | '+item.strategy_name">平安銀行</span>
      <span ng-bind="(item.open_amount==0||item.open_price==0||item.open_amount==0)?'--':(((item.income_balance/(item.open_price*item.open_amount)*100)|retain_float)+'%')" ng-class="{'global_color_red':item.income_balance>=0,'global_color_green':item.income_balance<0}">平安銀行</span>
    </div>
  </div>
  <div class="no_art_list" ng-if="(!result||result.length===0)">
    <p></p>
    <p ng-bind="running_tab_actived !== '3'?'暂无策略执行动态':'暂无待卖策略'"></p>
    <div ng-show="running_tab_actived !== '3'" ui-sref="search" style="margin-top:0.2rem;color:skyblue;padding:0.1rem 0.2rem;border:1px solid skyblue;">创建策略</div>
  </div>
</div>